package com.example.day11_7_11_3.adapter;


import android.content.Context;

import com.example.day11_7_11_3.R;
import com.example.day11_7_11_3.base.BaseRlvAdapter;
import com.example.day11_7_11_3.bean.NaviBean;

import java.util.List;

public class InfoRclAdapter extends BaseRlvAdapter<NaviBean.DataBean> {
    public InfoRclAdapter(Context context, List list) {
        super(context, list);
    }

    @Override
    protected int getLayout() {
        return R.layout.layout_item;
    }

    @Override
    protected void bindData(BaseViewHolder holder, NaviBean.DataBean dataBean) {
        holder.setText(R.id.tv_name,dataBean.getName());
    }
}
